package ooday03;

public class interfaceDemo {

    public interface inter1 {
        void show();
        void test();
    }

    public interface inter2 {
        void say();
        void play();
    }

    public interface inter extends inter1,inter2{
        void singing();
    }

    public abstract class YYY{
        abstract void speak();
    }

    public class interr extends YYY implements inter1{

        public void speak(){

        }

        public void show() {
            System.out.println("hahahahah");
        }

        public void test() {
            System.out.println("aaaaaaaaa");
        }
    }


}
